package mc823.rmi.farfetch.client;

import java.rmi.Naming;
import java.rmi.RMISecurityManager;

import mc823.rmi.farfetch.common.RemoteCine;

public class CineClient {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			System.setSecurityManager(new RMISecurityManager());
			RemoteCine cine = (RemoteCine) Naming.lookup("rmi://localhost/cine");
			System.out.println("Init call method...");
			System.out.println(cine.getExample());
						
		} catch (Exception e) {
			e.printStackTrace();
		}

	}

}
